﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020002DD RID: 733
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ChooseBoxingClubStageOptionalBuffCsReq : IMessage<ChooseBoxingClubStageOptionalBuffCsReq>, IMessage, IEquatable<ChooseBoxingClubStageOptionalBuffCsReq>, IDeepCloneable<ChooseBoxingClubStageOptionalBuffCsReq>, IBufferMessage
	{
		// Token: 0x17000978 RID: 2424
		// (get) Token: 0x060020B5 RID: 8373 RVA: 0x0005CA39 File Offset: 0x0005AC39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ChooseBoxingClubStageOptionalBuffCsReq> Parser
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffCsReq._parser;
			}
		}

		// Token: 0x17000979 RID: 2425
		// (get) Token: 0x060020B6 RID: 8374 RVA: 0x0005CA40 File Offset: 0x0005AC40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700097A RID: 2426
		// (get) Token: 0x060020B7 RID: 8375 RVA: 0x0005CA52 File Offset: 0x0005AC52
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ChooseBoxingClubStageOptionalBuffCsReq.Descriptor;
			}
		}

		// Token: 0x060020B8 RID: 8376 RVA: 0x0005CA59 File Offset: 0x0005AC59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffCsReq()
		{
		}

		// Token: 0x060020B9 RID: 8377 RVA: 0x0005CA61 File Offset: 0x0005AC61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffCsReq(ChooseBoxingClubStageOptionalBuffCsReq other) : this()
		{
			this.challengeId_ = other.challengeId_;
			this.fHEMOKPMGCC_ = other.fHEMOKPMGCC_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060020BA RID: 8378 RVA: 0x0005CA92 File Offset: 0x0005AC92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ChooseBoxingClubStageOptionalBuffCsReq Clone()
		{
			return new ChooseBoxingClubStageOptionalBuffCsReq(this);
		}

		// Token: 0x1700097B RID: 2427
		// (get) Token: 0x060020BB RID: 8379 RVA: 0x0005CA9A File Offset: 0x0005AC9A
		// (set) Token: 0x060020BC RID: 8380 RVA: 0x0005CAA2 File Offset: 0x0005ACA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChallengeId
		{
			get
			{
				return this.challengeId_;
			}
			set
			{
				this.challengeId_ = value;
			}
		}

		// Token: 0x1700097C RID: 2428
		// (get) Token: 0x060020BD RID: 8381 RVA: 0x0005CAAB File Offset: 0x0005ACAB
		// (set) Token: 0x060020BE RID: 8382 RVA: 0x0005CAB3 File Offset: 0x0005ACB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FHEMOKPMGCC
		{
			get
			{
				return this.fHEMOKPMGCC_;
			}
			set
			{
				this.fHEMOKPMGCC_ = value;
			}
		}

		// Token: 0x060020BF RID: 8383 RVA: 0x0005CABC File Offset: 0x0005ACBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ChooseBoxingClubStageOptionalBuffCsReq);
		}

		// Token: 0x060020C0 RID: 8384 RVA: 0x0005CACA File Offset: 0x0005ACCA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ChooseBoxingClubStageOptionalBuffCsReq other)
		{
			return other != null && (other == this || (this.ChallengeId == other.ChallengeId && this.FHEMOKPMGCC == other.FHEMOKPMGCC && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060020C1 RID: 8385 RVA: 0x0005CB08 File Offset: 0x0005AD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChallengeId != 0U)
			{
				num ^= this.ChallengeId.GetHashCode();
			}
			if (this.FHEMOKPMGCC != 0U)
			{
				num ^= this.FHEMOKPMGCC.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060020C2 RID: 8386 RVA: 0x0005CB60 File Offset: 0x0005AD60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060020C3 RID: 8387 RVA: 0x0005CB68 File Offset: 0x0005AD68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060020C4 RID: 8388 RVA: 0x0005CB74 File Offset: 0x0005AD74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChallengeId != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.ChallengeId);
			}
			if (this.FHEMOKPMGCC != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.FHEMOKPMGCC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060020C5 RID: 8389 RVA: 0x0005CBD0 File Offset: 0x0005ADD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChallengeId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChallengeId);
			}
			if (this.FHEMOKPMGCC != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FHEMOKPMGCC);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060020C6 RID: 8390 RVA: 0x0005CC28 File Offset: 0x0005AE28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ChooseBoxingClubStageOptionalBuffCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChallengeId != 0U)
			{
				this.ChallengeId = other.ChallengeId;
			}
			if (other.FHEMOKPMGCC != 0U)
			{
				this.FHEMOKPMGCC = other.FHEMOKPMGCC;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060020C7 RID: 8391 RVA: 0x0005CC78 File Offset: 0x0005AE78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060020C8 RID: 8392 RVA: 0x0005CC84 File Offset: 0x0005AE84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 32U)
				{
					if (num != 56U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.FHEMOKPMGCC = input.ReadUInt32();
					}
				}
				else
				{
					this.ChallengeId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000D60 RID: 3424
		private static readonly MessageParser<ChooseBoxingClubStageOptionalBuffCsReq> _parser = new MessageParser<ChooseBoxingClubStageOptionalBuffCsReq>(() => new ChooseBoxingClubStageOptionalBuffCsReq());

		// Token: 0x04000D61 RID: 3425
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000D62 RID: 3426
		public const int ChallengeIdFieldNumber = 4;

		// Token: 0x04000D63 RID: 3427
		private uint challengeId_;

		// Token: 0x04000D64 RID: 3428
		public const int FHEMOKPMGCCFieldNumber = 7;

		// Token: 0x04000D65 RID: 3429
		private uint fHEMOKPMGCC_;
	}
}
